package gui.catalogues.sizes;

import gui.commons.IdText;

import java.util.EventObject;

import javax.swing.JList;

/*
 *	These Event classes seem to be practically a java bean, adding a listening ability
 * */

public class SizeFormEvent extends EventObject {
	
	private String size, type;
	private IdText it;

	public SizeFormEvent(Object source) {
		super(source);
	}
	
	public SizeFormEvent(Object source, String size, String type, IdText it) {
		super(source);
		this.size = size;
		this.type = type;
		this.it = it;
	}

	/**
	 * @return the it
	 */
	public IdText getIt() {
		return it;
	}

	/**
	 * @param it the it to set
	 */
	public void setIt(IdText it) {
		this.it = it;
	}

	/**
	 * @return the size
	 */
	public String getSize() {
		return size;
	}

	/**
	 * @param size the size to set
	 */
	public void setSize(String size) {
		this.size = size;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
}
